package com.lovo.ssc.bean;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户等级表，不同等级对应不同的折扣率
 * </p>
 *
 * @author lovo
 * @since 2022-07-11
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_level")
public class LevelBean extends Model {

    private static final long serialVersionUID = 1L;

    @TableId(value = "levelId", type = IdType.AUTO)
    private Integer levelId;

    /**
     * 等级名
     */
    @TableField("levelName")
    private String levelName;

    /**
     * 折扣率
     */
    private Integer discount;


}
